package com.deluxelx.soul.inn.service.file;

import com.deluxelx.soul.inn.bean.file.FileUploadParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文件操作接口类
 *
 * @author liaozihao
 * @date 2024-04-30 8:55
 */
public interface FileService {
    /**
     * 上传文件
     *
     * @param file 文件流
     * @param param 文件类型 + 主键id
     * @return 结果
     **/
    Boolean upload(MultipartFile file, FileUploadParam param);
}
